package com.ruoyi.blog.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.blog.domain.BlogType;

import java.util.Date;

public class ResultArticleDetailVo {
    /** ID */
    private Long id;
    /** 标题 */
    private String title;
    /** 封面 */
    private String cover;
    /** 内容 */
    private String content;
    /** 分类名称 */
    private String typeName;
    /** 标签 */
    private String tags;
    /** 作者 */
    private String author;
    /** 访问量 */
    private Integer viewCount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }
}
